package com.ruoyi.zhgd.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ruoyi.common.annotation.DataColumn;
import com.ruoyi.common.annotation.DataPermission;
import com.ruoyi.zhgd.domain.ZjNWarningZlyj;
import com.ruoyi.zhgd.domain.bo.ZjNWarningZlyjBo;
import com.ruoyi.zhgd.domain.vo.ZjNWarningZlyjVo;
import com.ruoyi.common.core.mapper.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

/**
 * 张拉压浆预警信息Mapper接口
 *
 * @author tll
 * @date 2023-12-04
 */
public interface ZjNWarningZlyjMapper extends BaseMapperPlus<ZjNWarningZlyjMapper, ZjNWarningZlyj, ZjNWarningZlyjVo> {

    @DataPermission({
        @DataColumn(key = "deptName", value = "p.dept_id"),
    })
    Page<ZjNWarningZlyjVo> pageTension(Page<Object> build, @Param("bo") ZjNWarningZlyjBo bo);

    @DataPermission({
        @DataColumn(key = "deptName", value = "p.dept_id"),
    })
    Page<ZjNWarningZlyjVo> pageGrouting(Page<Object> build, @Param("bo") ZjNWarningZlyjBo bo);
}
